/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "签到详单统计报表",TableName = "Statistical_Reports")]
    public partial class Statistical_Reports:BaseEntity
    {
        /// <summary>
       ///id
       /// </summary>
       [Key]
       [Display(Name ="id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int StaffId { get; set; }

       /// <summary>
       ///员工姓名
       /// </summary>
       [Display(Name ="员工姓名")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string StaffName { get; set; }

       /// <summary>
       ///员工账号
       /// </summary>
       [Display(Name ="员工账号")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string StaffAccount { get; set; }

       /// <summary>
       ///主属部门
       /// </summary>
       [Display(Name ="主属部门")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string PrimaryDepartment { get; set; }

       /// <summary>
       ///附属部门
       /// </summary>
       [Display(Name ="附属部门")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string SubsidiaryDepartment { get; set; }

       /// <summary>
       ///职务
       /// </summary>
       [Display(Name ="职务")]
       [MaxLength(25)]
       [Column(TypeName="varchar(25)")]
       [Editable(true)]
       public string Office { get; set; }

       /// <summary>
       ///签到日期
       /// </summary>
       [Display(Name ="签到日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CheckInDate { get; set; }

       /// <summary>
       ///签到时间
       /// </summary>
       [Display(Name ="签到时间")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string CheckInTime { get; set; }

       /// <summary>
       ///签到地点
       /// </summary>
       [Display(Name ="签到地点")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string CheckInLocation { get; set; }

       
    }
}